// import 'package:ladder_cash/app/app.dart';
// import 'package:ladder_cash/app/com/http/http_request.dart';
// import 'package:ladder_cash/app/com/plugin/common_plugin.dart';
// import 'package:ladder_cash/app/com/plugin/device_data_plugin.dart';
// import 'package:ladder_cash/app/key_mix.dart';
// import 'package:flutter/services.dart';
//
// class FacePlugin {
//   static const MethodChannel _channel = MethodChannel('FacePlugin');
//
//   static get getFacePath async {
//     return await CommonPlugin.getFacePath;
//   }
//
//   static faceAdd(String biz_token, String hostUrl) async {
//     var requestDefaultParamsModel = HttpRequest.requestDefaultParamsModel;
//     var url = '${HttpRequest.getBaseUrl()}/kini/uyioq';
//     url = '$url?${'appVersion'.hx}=${requestDefaultParamsModel!.appVersion}';
//     url = '$url&${'deviceName'.hx}=${requestDefaultParamsModel.deviceName}';
//     url = '$url&${'deviceId'.hx}=${requestDefaultParamsModel.deviceId}';
//     url = '$url&${'osVersion'.hx}=${requestDefaultParamsModel.deviceOsVersion}';
//     url = '$url&${'sessionId'.hx}=${App.token}';
//     url = '$url&${'gps_adid'.hx}=${requestDefaultParamsModel.adid}';
//     var verifyUrl = url;
//     return await _channel.invokeMethod("faceAdd", {
//       "biz_token": biz_token,
//       "hostUrl": hostUrl,
//       "language": App.localeCode,
//       "verifyUrl": verifyUrl
//     });
//   }
// }
